<template>
  <div class="duanwang_to">
    <!---->
    <div id="header">
      <ul id="header_top1">
        <li @click="doShouye()">
          <img src="../../../assets/Aladeng_img/3_duanhuowang/duanhuowang/back.png" alt="">
        </li>
        <li>
          阿拉灯平台协议
        </li>
      </ul>
    </div>
    <!---->
    <!---->
    <div class="bg1">
    </div>
    <!--分享部分-->
    <transition name="fade">

      <div id="show" v-show="isShow" >
        <div class="qingchu">
          确认修改？
        </div>
        <div class="qc">
          <span class="qu" @click="fade">取消</span>
          <span class="que" >确认</span>
        </div>

      </div>

    </transition>
    <!--蒙板部分-->
    <div class="mark" v-show="isShow"></div>

  </div>
</template>
<script>

  export default {
    data(){
      return{
        isShow: false,
      }
    },
    components:{
    },
    methods: {
      doShouye(){
        this.$router.go(-1);
      },
      share: function () {
        this.isShow = !this.isShow;
      },
      fade: function () {
        this.isShow = !this.isShow;
      },
    }
  }
</script>
<style scoped>
  .duanwang_to{
    margin-bottom: 5rem;
  }
  #header {
    width: 100%;
    height: 4rem;
    background: #e53e42;
  }
  .duan_datu img{
    width: 24rem;
  }
  #header_top1 {
    width: 100%;
    display: flex;
    padding-top: 1.3rem;
    padding-bottom: 0.3rem;
  }
  #header_top1 li{
    text-align: center;
    color: #ffffff;
    font-weight: 200;
  }
  #header_top1 li:nth-child(1){
    flex:1;

  }
  #header_top1 li:nth-child(1) img{
    width: 1rem;
  }
  #header_top1 li:nth-child(2){
    flex:10;
    font-size: 1.5rem;
  }
  #header_top1 li:nth-child(3){
    flex:1;

  }
  #header_top1 li:nth-child(3) img{
    width: 1.2rem;
  }

  .bg{
    width: 100%;
    background-color: #f2f2f2;
    height: 13rem ;
    font-size: 1rem;
    font-weight: 200;
    /*padding-top: 1rem;*/

  }
  .bg1{
    width: 100%;
    background-color: #f2f2f2;
    height: 10rem;
    padding-top: 2rem;
  }
  .img img{
    width: 7.267rem;
  }
  .bg div:nth-child(1){
    padding-top: 0.5rem;
  }
  .bg div:nth-child(2){
    color: #e53e42;
    padding: 0.5rem 0;
  }
  .bg div:nth-child(3){
    padding-bottom:1rem ;
  }
  .bg div:nth-child(4){
    background-color: #61a7ea;
    color: #ffffff;
    width: 15rem;
    padding: 0.5rem 0;
    margin: auto;
  }
  #show {
    width: 60%;
    position: fixed;
    top: 35%;
    left: 20%;
    right: 20%;
    bottom: 35%;
    z-index: 100;
    background: #ffffff;
    border-top: 1px solid #cccccc;
  }
  #show .top li img {
    width: 1rem;
    font-size: 0;
    padding: 0.5rem;
  }


  /*蒙板部分*/
  .mark {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10;
  }
  /*动画*/
  .fade-enter,.fade-leave-to{
    transform: translateX(100%);
  }
  .fade-enter-active,.fade-leave-active{
    transition: all 0.1s;
  }
  .shezhi li{
    padding: 1rem 0;
    border-bottom: 1px solid #cccccc;
    padding-left: 0.8rem;
  }
  .shezhi li:nth-child(1){
    border-top: 1px solid #cccccc;
  }
  .shezhi span{
    float: right;
    padding-right: 0.8rem;
    color: #808080;
  }
  .shezhi span img{
    width: 0.333rem;
  }
  .qc{
    display: flex;
    text-align: center;
  }
  .qc span{
    flex: 1;
    display: inline-block;
    border-top:1px solid #cccccc ;
    border-bottom:1px solid #cccccc ;
    padding: 0.5rem 0;
  }
  .qc span:nth-child(1){
    border-right:1px solid #cccccc ;
  }
  .qingchu{
    text-align: center;
    padding: 2.7rem 0;
  }

</style>
